package com.situ.mall.web.controller;


import com.situ.mall.common.service.IWorkerService;
import com.situ.mall.common.vo.ResultVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author author
 * @since 2024-01-29
 */
@RestController
@RequestMapping("/worker")
public class WorkerController {

    @Autowired
    private IWorkerService workerService;

    //首页查询推荐陪诊员
    @GetMapping("/indexWorkers")
    public ResultVO indexWorkers() {
        return workerService.indexWorkers();
    }

}
